<template>
<div>
 
    <h1>v-bind的增强</h1>
    <div style="width:100px;height:100px;" :style="{backgroundColor:c1,color:c2}">hhh</div>
    </div>
</template>

<script>
export default {
  data () {
    return {
      c1: 'pink',
      c2: 'red'
    }
  }
}
</script>

<style>

</style>